package com.xiaoming;

import com.xiaoming.stream.ReadMsgInterface;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author xiaoming
 * @Date 2020/3/11
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableBinding(ReadMsgInterface.class)
public class MessageApp {

    public static void main(String[] args) {
        SpringApplication.run(MessageApp.class, args);
    }
}
